/*  1:   */ package org.intellij.plugins.relaxNG.compact.psi.impl;
/*  2:   */ 
/*  3:   */

import com.intellij.lang.ASTNode;
import com.intellij.psi.tree.IElementType;
import org.intellij.plugins.relaxNG.compact.psi.RncAnnotation;
import org.intellij.plugins.relaxNG.compact.psi.RncElementVisitor;
import org.intellij.plugins.relaxNG.compact.psi.RncName;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */
/* 10:   */ 
/* 11:   */ public class RncAnnotationImpl
/* 12:   */   extends RncElementImpl
/* 13:   */   implements RncAnnotation
/* 14:   */ {
/* 15:   */   public RncAnnotationImpl(ASTNode paramASTNode)
/* 16:   */   {
/* 17:34 */     super(paramASTNode);
/* 18:   */   }
/* 19:   */   
/* 20:   */   public void accept(@NotNull RncElementVisitor paramRncElementVisitor)
/* 21:   */   {
/* 22:38 */     if (paramRncElementVisitor == null) {
/* 23:38 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/intellij/plugins/relaxNG/compact/psi/impl/RncAnnotationImpl", "accept" }));
/* 24:   */     }
/* 25:38 */     paramRncElementVisitor.visitAnnotation(this);
/* 26:   */   }
/* 27:   */   
/* 28:   */   public IElementType getTokenType()
/* 29:   */   {
/* 30:42 */     return getNode().getElementType();
/* 31:   */   }
/* 32:   */   
/* 33:   */   @Nullable
/* 34:   */   public RncName getNameElement()
/* 35:   */   {
/* 36:47 */     return (RncName)findChildByClass(RncName.class);
/* 37:   */   }
/* 38:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.plugins.relaxNG.compact.psi.impl.RncAnnotationImpl

 * JD-Core Version:    0.7.0.1

 */